package com.example.warehousewms.mapper;

import com.example.warehousewms.bean.Location;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LocationMapper {

    int insertLocation(Location loca);

    int updateLocation(Location loca);

    int deleteLocation(Long id);

    Location getLocationById(Long id);

    List<Location> getAll();

}
